package com.demo.module;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * Created with IntelliJ IEDA.
 * Description:
 * User:86186
 * Date:2023-05-27
 * Time:2:12
 */
@Controller
public class Repository {
    @Autowired
    private User user;

    public User SendUser(){
       user.setName("悟空");
       user.setId(001);
       user.setPassword("500");
       return user;
    }
}
